<extend name="public@base"/>
block(name='main')
    .wrap
        .row
            .col-md-offset-3.col-md-6
                .panel.panel-default(style='margin-top: 10%')
                    .panel-heading
                        h3.panel-title {:lang('CACHE_CLEARED')}
                    .panel-body
                        div(style='line-height: 60px;')
                            | {:lang('CACHE_CLEARED')}
                        div
                            a.btn.btn-primary.pull-right(href='javascript:close_app();') {:lang('CLOSE')}
                            .clearfix
block(name='bottom-script')
    script.
        var closeTimeout = setTimeout(function () {
            parent.close_current_app();
        }, 3000);
        function close_app() {
            clearTimeout(closeTimeout);
            parent.close_current_app();
        }
